import 'package:plugin_platform_interface/plugin_platform_interface.dart';
import 'fcl_bmf_method_channel_interface.dart';

abstract class FclBmfPlatformInterface extends PlatformInterface {
  /// Constructs a FclBmfPlatformInterface.
  FclBmfPlatformInterface() : super(token: _token);

  static final Object _token = Object();

  static FclBmfPlatformInterface _instance = FclBmfMethodChannelInterface();

  /// The default instance of [FclBmfPlatformInterface] to use.
  ///
  /// Defaults to [FclBmfMethodChannelInterface].
  static FclBmfPlatformInterface get instance => _instance;

  /// Platform-specific implementations should set this with their own
  /// platform-specific class that extends [FclBmfPlatformInterface] when
  /// they register themselves.
  static set instance(FclBmfPlatformInterface instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<String?> getPlatformVersion() {
    throw UnimplementedError('platformVersion() has not been implemented.');
  }

  Future<String?> getAppIdentifier() {
    throw UnimplementedError('getAppIdentifier() has not been implemented.');
  }

  Future<String?> requestPermission() {
    throw UnimplementedError('requestPermission() has not been implemented.');
  }

  Future<bool> setAK(String ak) {
    throw UnimplementedError('setAK() has not been implemented.');
  }

  Future<bool> setAgreePrivacy(bool agree) {
    throw UnimplementedError('setAgreePrivacyPolicy() has not been implemented.');
  }

  Future<String> startLocation() {
    throw UnimplementedError('startLocation() has not been implemented.');
  }

  Future<bool> stopLocation() {
    throw UnimplementedError('stopLocation() has not been implemented.');
  }

  Future<bool> flutterToOhosByMapPage() {
    throw UnimplementedError('stopLocation() has not been implemented.');
  }
  

}
